<?php

require_once '../../MApache/weblinx/weblinx.php';
/**
 * Description of FrmTerminal
 * Interfaz gráfica de la Terminal
 * @author frimost Armandux
 * @version 0.0.1
 */
class FrmTerminal {
    private $easyForm;

    public function  __construct() {
        $this->easyForm=new EasyForm($name="TerminalFrm", $id="TerminalFrm", $method="post", $action="../Events/EventsFrmTerminal.php", $fieldSetLegend="Terminal");
        $this->easyForm->addTextArea($colSpan=2, $label="A1", $cols="200", $rows="20", $name="Terminal", $id="Terminal", $disabled="", $readOnly="", $accessKey="", $tabIndex="", $wrap="", $content="",$class="",$events=array());
        $this->easyForm->addSimpleLabel($colSpan=1, $label="label1", $id="label1", $text="");
        $this->easyForm->addTextArea($colSpan=2, $label="A", $cols="200", $rows="4", $name="Bandeja", $id="Bandeja", $disabled="", $readOnly="", $accessKey="", $tabIndex="", $wrap="", $content="",$class="",$events=array());
        $this->easyForm->addSimpleLabel($colSpan=1, $label="label2", $id="label2", $text="");

        $this->easyForm->addButton($colSpan=2, $label="aceptar", $name="aceptar", $id="aceptar", $alt="aceptar", $value="ok", $note="ok", $type="button", $disabled="" ,$class="", $imageSrc="", $title="", $imageWidth="", $imageHeight="", $imageBorder="0", $events=array("onclick"=>"updateStack(Bandeja.value)"));
        $this->easyForm->addButton($colSpan=2, $label="enviar", $name="enviar", $id="enviar", $alt="enviar", $value="enter", $note="enter", $type="submit");
        
    }
    public function setVisible($visible=FALSE){
        $this->easyForm->show($cols=1, $rows=8);
    }
    public function getEasyForm() {
        return $this->easyForm;
    }

    public function setEasyForm($easyForm) {
        $this->easyForm = $easyForm;
    }

}
?>
